home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
misc
/
kc
/
readme.eng
< prev
next >
Wrap
Text File
|
1999-06-14
|
5KB
|
107 lines
Kanji code converter program (kc V1.8)
This program converts amongst the following 4 kanji codes:
1) JIS code.
a) j : jis { ESC$B [kanji'83], ESC (B [ascii], ESC (I [kana (7Bit)] }
ESC (B : ASCII (ISO646) designated as G0
ESC $B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC (I : Japanese katakana (right half part of JIS X 0201) designated as G0
b) J : jis { ESC$B [kanji'83], ESC (J [roman] }
ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
c) o : oldjis { ESC$@ [kanji'78], ESC (J [ascii], ESC (I [kana(7bit)]}
ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
<<ATTENTION!: These names for the different kind of characters
are assigned by myself.>>
2) Shift-JIS code (MS kanji code).
3) Extended UNIX code (EUC).
4) X compound text.
c: ctext { ESC$(B [kanji'83], ESC (B [ascii], ESC ) I [kana (8bit)] }
ESC ( B : ASCII (ISO646) designated as G0
ESC $ ( B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
ESC - A : Latin-1 designated as G1
<<Usage Syntax>>
kc [-k] [-bXX] [-f] [-v] [ -[input kanjicode] [output kanjicode]]
[file(s)]
meanings of parameters:
k : Only kanji code identification is done.
No code convertion is performed.
The result can be :
"ILLEGAL" : wrong escape sequence [ESC (H]
"UNKNOWN" : couldn't identify
"JIS" : JIS code
"SJIS" : Shift-JIS code
"EUC" : Extended UNIX code
"CT" : X compound text
b : Designate size of the row of characters input to be investigated in
oder to identify kanji code. Default is 1024 bytes.
v : [verbose; note from translator] It does show whether some character
doesn't convert properly, by default it doesn't show anything else than
ESC (H usage message.
input kanjicode: (specify only one from the following)
s : Shift-JIS code
e : EUC code
j : JIS code
ESC ( B : ASCII(ISO646) designated as G0
ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
J : JIS code
ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
o : JIS code
ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
c : compound text
ESC ( B : ASCII(ISO646) designated as G0
ESC $ ( B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
ESC - A : Latin-1 designated as G1
output kanjicode: (specify only one from the following)
s : Shift-JIS code
e : EUC code
j : JIS code
ESC ( B : ASCII(ISO646) designated as G0
ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
J : JIS code
ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
o : JIS code
ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
c : compound text
ESC ( B : ASCII(ISO646) designated as G0
ESC $ ( B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
ESC - A : Latin-1 designated as G1
If you specify only output code it's ok, program will try to identify
automatically inputfile. Default output is Shift-JIS, you can change it
to, say, EUC by changing the environmental variable "KC".
SetEnv KC -e
P.S.: Due to many changes from Version 1.5 to 1.7 into the way of writing
code I fear there are a good bunch of new bugs. Please let me know if
you find any. Thanks.
You can change, copy and so on the program but please let me know
modifications.
NTT
CHUO NETWORK GIJUTSU CENTER (Central Network Technical Center)
GIJUTSU KAIHATSU BUMON (Technical Development Department)
Mukawa Shin
("Shin" could be "Susumu" instead; note from translator)
(mukawa@ctec.tn-se.ntt.jp)